<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title></title>
		<link rel="stylesheet" type="text/css"
			href="${contextPath}/resource/css/default.css" />
		<script src="${contextPath}/resource/js/index.js"></script>	
	</head>
	<body >
			<table class="menu_table">
				<tr>
					<th>
						<a href="agencyAction_list.do?suprOrgNo=0">机构管理</a>&gt;&gt;添加导航机构
					</th>
				</tr>
			</table>
			<div class="listtable" align="right">
			<s:if test="buttonGrpMap['edit']">
				<input type="button" onclick="javascript:location='agencyAction_edit.do?agency.orgNo=${agency.orgNo}'" value="" class="edit_word_style"></input>
			</s:if>
			<s:if test="agency.suprOrgNo == 0">
			<input type="button" onclick="javascript:location='agencyAction_list.do?suprOrgNo=${agency.suprOrgNo}'" value="" class="back_style">&nbsp;&nbsp;&nbsp;&nbsp;
			</s:if><s:else>
			<input type="button" onclick="javascript:location='agencyAction_add.do?suprOrgNo=${agency.suprOrgNo}'" value="" class="back_style">&nbsp;&nbsp;&nbsp;&nbsp;
			</s:else>
			</div>	
			<div class="listtable">
			<div class="secondDiv">
			<table class="form_table">
				<%@include file="/show_field_error.jsp"%>
				<tr>
					<th>上级机构编号</th>
					<td colspan="3">
						<s:property value="agency.suprOrgNo"/>
					</td>
				</tr>
				<tr>
					<th width="10%">机构名称</th>
					<td width="30%">
						<s:property value="agency.orgNm"/>
					<th width="10%">机构编号</th>
					<td>
						<s:property value="agency.orgNo"/>
					</td>
				</tr>
				<tr>
				
					<th >机构级别</th>
					<td colspan="3">
						<s:property value="agency.orgRnk"/>
					</td>
				</tr>
				<tr>
					<th>详细描述</th>
					<td colspan="3">
						<s:property value="agency.dtlDesc"/>
					</td>
				</tr>
			</table>
		</div>
		</div>
	</body>
</html>
